Skip to content

fix(github): emit resolvable co-author noreply emails - #1704

Merged
dcramer merged 1 commit into
mainfrom
fix/github-coauthor-noreply-identity
Sep 1, 2026
Merged

fix(github): emit resolvable co-author noreply emails#1704
dcramer merged 1 commit into
mainfrom
fix/github-coauthor-noreply-identity

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Junior already stamps requester Co-Authored-By trailers, but they used the Slack/work email. Downstream automation (like sentry-cocoa's unreferenced-PR issue creator) needs a GitHub login to assign the human instead of the bot.

When a linked GitHub identity exists, prefer id+login@users.noreply.github.com in the trailer so assignee resolution is deterministic. Falls back to the existing actor email when no GitHub link is present.

Requested by Thomas Hedderwick.

--

View Junior Session [Sentry]

@vercel

vercel Bot commented Aug 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Sep 1, 2026 10:20pm UTC

Request Review

@NinjaLikesCheez
NinjaLikesCheez marked this pull request as ready for review August 26, 2026 06:57
@github-actions github-actions Bot added the risk: high PR risk score: high label Aug 26, 2026
Comment thread packages/junior-github/src/git-config.ts Outdated
@github-actions github-actions Bot added risk: medium PR risk score: medium and removed risk: high PR risk score: high labels Aug 27, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 54fd0c9. Configure here.

destination: context.destination,
events: input.events,
expiresAtMs: Date.now() + RESOURCE_SUBSCRIPTION_DEFAULT_TTL_MS,
intent: input.intent,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resource subscriptions drop destination

High Severity

Plugin resourceEvents.subscribe() no longer passes destination into createResourceEventSubscription. That field is required to build the subscription id, store the Slack team, and match inbound events. Plugin-created watches, including GitHub PR follow-up after create, fail instead of routing events back to the conversation.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 54fd0c9. Configure here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a regression from this PR. destination was intentionally removed from resource-event subscriptions in #1706 (fix(resource-events): let conversations own watch routing). Main and this branch both omit it; the store API no longer accepts destination. Bugbot is comparing against the pre-#1706 merge base.

When the current run actor has a linked GitHub identity, stamp Co-Authored-By
with id+login@users.noreply.github.com so downstream assignee automation can
resolve a login. Keep trailer generation pure and resolve the current user once
through the existing users.resolveActor contract.

Co-Authored-By: David Cramer <david@sentry.io>
@sentry-junior
sentry-junior Bot force-pushed the fix/github-coauthor-noreply-identity branch from 54fd0c9 to c36ec49 Compare September 1, 2026 22:19
@github-actions github-actions Bot added risk: high PR risk score: high and removed risk: medium PR risk score: medium labels Sep 1, 2026
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

3 screenshot changes — 3 changed · 0 added · 0 removed

Review screenshots in Frameshift

Conversation Create Focused · Desktop
Conversation Create Focused · Desktop
Changed
Conversation Create Focused · Mobile
Conversation Create Focused · Mobile
Changed
System · Desktop
System · Desktop
Changed

@dcramer
dcramer merged commit 93807f1 into main Sep 1, 2026
40 checks passed
@dcramer
dcramer deleted the fix/github-coauthor-noreply-identity branch September 1, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants